home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / aros / include / clib / aros_protos.h next >
Encoding:
C/C++ Source or Header  |  1996-09-12  |  894 b   |  45 lines

  1. #ifndef  CLIB_AROS_PROTOS_H
  2. #define  CLIB_AROS_PROTOS_H
  3.  
  4. /*
  5. **    $VER: aros_protos.h 1.0 (26.10.95)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. */
  10.  
  11. #ifndef  EXEC_TYPES_H
  12. #   include <exec/types.h>
  13. #endif
  14. #ifndef AROS_AROSBASE_H
  15. #   include <aros/arosbase.h>
  16. #endif
  17. #ifndef EXEC_EXECBASE_H
  18. #   include <exec/execbase.h>
  19. #endif
  20.  
  21. #ifdef DEBUG_FreeMem
  22. #   ifndef CLIB_EXEC_PROTOS_H
  23. #    include <clib/exec_protos.h>
  24. #   endif
  25. #   if DEBUG_FreeMem
  26. #    undef FreeMem
  27. #    define FreeMem NastyFreeMem
  28. #   endif
  29. #endif
  30.  
  31. extern struct ExecBase * Sysbase;
  32.  
  33. /*
  34.     Prototypes
  35. */
  36. ULONG CalcChecksum (APTR mem, ULONG size);
  37. int   STRCMP       (const UBYTE *, const UBYTE *);
  38. int   STRICMP       (const UBYTE *, const UBYTE *);
  39. int   kprintf       (const UBYTE *, ...);
  40. void  NastyFreeMem (void *, ULONG);
  41.  
  42. #define kprintf     (((struct AROSBase *)(SysBase->DebugData))->kprintf)
  43.  
  44. #endif /* CLIB_AROS_PROTOS_H */
  45.